]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
layout: Export PressureBarrier
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Thu, 17 Aug 2023 22:12:23 +0000 (00:12 +0200)
committerMarge Bot <marge-bot@gnome.org>
Fri, 18 Aug 2023 03:47:51 +0000 (03:47 +0000)
It's an utility function that extensions can use to create pointer barriers,
so export it to allow wider usage

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2900>

js/ui/layout.js

index 5611dadcb276639346dc394e1e3d45a94e495094..d1053df48f4a9887ddbacfbd177410d7deecdb00 100644 (file)
@@ -1299,7 +1299,7 @@ class HotCorner extends Clutter.Actor {
     }
 });
 
-class PressureBarrier extends Signals.EventEmitter {
+export class PressureBarrier extends Signals.EventEmitter {
     constructor(threshold, timeout, actionMode) {
         super();